/**
 * 
 */
package lt.vin.exaatto.client.ui;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

/**
 * @author Vincentas
 *
 */
public class LoginPanel extends Composite {

	private static LoginPanelUiBinder uiBinder = GWT.create(LoginPanelUiBinder.class);

	interface LoginPanelUiBinder extends UiBinder<Widget, LoginPanel> {
	}	
	
	@UiField
	Anchor loginLink;

	public LoginPanel(String loginUrl) {
		initWidget(uiBinder.createAndBindUi(this));
		
		loginLink.setHref(loginUrl);
	}
}
